package ${packageName}.entity;

${DATEIMPORT}
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ${className} implements Serializable{

    <#list fieldList as field>
    /**
     *
     * ${field.remark}
     */
    <#if (field.isPrimary == 1)>
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    </#if>
    private ${field.type} ${field.name};

    </#list>


}